package com.itcncp.ucenter.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserRechangeOpJnlExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public UserRechangeOpJnlExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRechargeNoIsNull() {
            addCriterion("recharge_no is null");
            return (Criteria) this;
        }

        public Criteria andRechargeNoIsNotNull() {
            addCriterion("recharge_no is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeNoEqualTo(Long value) {
            addCriterion("recharge_no =", value, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoNotEqualTo(Long value) {
            addCriterion("recharge_no <>", value, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoGreaterThan(Long value) {
            addCriterion("recharge_no >", value, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoGreaterThanOrEqualTo(Long value) {
            addCriterion("recharge_no >=", value, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoLessThan(Long value) {
            addCriterion("recharge_no <", value, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoLessThanOrEqualTo(Long value) {
            addCriterion("recharge_no <=", value, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoIn(List<Long> values) {
            addCriterion("recharge_no in", values, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoNotIn(List<Long> values) {
            addCriterion("recharge_no not in", values, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoBetween(Long value1, Long value2) {
            addCriterion("recharge_no between", value1, value2, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andRechargeNoNotBetween(Long value1, Long value2) {
            addCriterion("recharge_no not between", value1, value2, "rechargeNo");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andRechargeWayIsNull() {
            addCriterion("recharge_way is null");
            return (Criteria) this;
        }

        public Criteria andRechargeWayIsNotNull() {
            addCriterion("recharge_way is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeWayEqualTo(Byte value) {
            addCriterion("recharge_way =", value, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayNotEqualTo(Byte value) {
            addCriterion("recharge_way <>", value, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayGreaterThan(Byte value) {
            addCriterion("recharge_way >", value, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayGreaterThanOrEqualTo(Byte value) {
            addCriterion("recharge_way >=", value, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayLessThan(Byte value) {
            addCriterion("recharge_way <", value, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayLessThanOrEqualTo(Byte value) {
            addCriterion("recharge_way <=", value, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayIn(List<Byte> values) {
            addCriterion("recharge_way in", values, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayNotIn(List<Byte> values) {
            addCriterion("recharge_way not in", values, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayBetween(Byte value1, Byte value2) {
            addCriterion("recharge_way between", value1, value2, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeWayNotBetween(Byte value1, Byte value2) {
            addCriterion("recharge_way not between", value1, value2, "rechargeWay");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountIsNull() {
            addCriterion("recharge_amount is null");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountIsNotNull() {
            addCriterion("recharge_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountEqualTo(BigDecimal value) {
            addCriterion("recharge_amount =", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountNotEqualTo(BigDecimal value) {
            addCriterion("recharge_amount <>", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountGreaterThan(BigDecimal value) {
            addCriterion("recharge_amount >", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_amount >=", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountLessThan(BigDecimal value) {
            addCriterion("recharge_amount <", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_amount <=", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountIn(List<BigDecimal> values) {
            addCriterion("recharge_amount in", values, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountNotIn(List<BigDecimal> values) {
            addCriterion("recharge_amount not in", values, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_amount between", value1, value2, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_amount not between", value1, value2, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountIsNull() {
            addCriterion("recharge_act_amount is null");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountIsNotNull() {
            addCriterion("recharge_act_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountEqualTo(BigDecimal value) {
            addCriterion("recharge_act_amount =", value, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountNotEqualTo(BigDecimal value) {
            addCriterion("recharge_act_amount <>", value, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountGreaterThan(BigDecimal value) {
            addCriterion("recharge_act_amount >", value, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_act_amount >=", value, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountLessThan(BigDecimal value) {
            addCriterion("recharge_act_amount <", value, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_act_amount <=", value, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountIn(List<BigDecimal> values) {
            addCriterion("recharge_act_amount in", values, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountNotIn(List<BigDecimal> values) {
            addCriterion("recharge_act_amount not in", values, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_act_amount between", value1, value2, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeActAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_act_amount not between", value1, value2, "rechargeActAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeIsNull() {
            addCriterion("recharge_fee is null");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeIsNotNull() {
            addCriterion("recharge_fee is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeEqualTo(BigDecimal value) {
            addCriterion("recharge_fee =", value, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeNotEqualTo(BigDecimal value) {
            addCriterion("recharge_fee <>", value, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeGreaterThan(BigDecimal value) {
            addCriterion("recharge_fee >", value, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_fee >=", value, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeLessThan(BigDecimal value) {
            addCriterion("recharge_fee <", value, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_fee <=", value, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeIn(List<BigDecimal> values) {
            addCriterion("recharge_fee in", values, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeNotIn(List<BigDecimal> values) {
            addCriterion("recharge_fee not in", values, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_fee between", value1, value2, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_fee not between", value1, value2, "rechargeFee");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeIsNull() {
            addCriterion("recharge_time is null");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeIsNotNull() {
            addCriterion("recharge_time is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeEqualTo(Date value) {
            addCriterion("recharge_time =", value, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeNotEqualTo(Date value) {
            addCriterion("recharge_time <>", value, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeGreaterThan(Date value) {
            addCriterion("recharge_time >", value, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("recharge_time >=", value, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeLessThan(Date value) {
            addCriterion("recharge_time <", value, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeLessThanOrEqualTo(Date value) {
            addCriterion("recharge_time <=", value, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeIn(List<Date> values) {
            addCriterion("recharge_time in", values, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeNotIn(List<Date> values) {
            addCriterion("recharge_time not in", values, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeBetween(Date value1, Date value2) {
            addCriterion("recharge_time between", value1, value2, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeTimeNotBetween(Date value1, Date value2) {
            addCriterion("recharge_time not between", value1, value2, "rechargeTime");
            return (Criteria) this;
        }

        public Criteria andRechargeStateIsNull() {
            addCriterion("recharge_state is null");
            return (Criteria) this;
        }

        public Criteria andRechargeStateIsNotNull() {
            addCriterion("recharge_state is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeStateEqualTo(Byte value) {
            addCriterion("recharge_state =", value, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateNotEqualTo(Byte value) {
            addCriterion("recharge_state <>", value, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateGreaterThan(Byte value) {
            addCriterion("recharge_state >", value, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("recharge_state >=", value, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateLessThan(Byte value) {
            addCriterion("recharge_state <", value, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateLessThanOrEqualTo(Byte value) {
            addCriterion("recharge_state <=", value, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateIn(List<Byte> values) {
            addCriterion("recharge_state in", values, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateNotIn(List<Byte> values) {
            addCriterion("recharge_state not in", values, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateBetween(Byte value1, Byte value2) {
            addCriterion("recharge_state between", value1, value2, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andRechargeStateNotBetween(Byte value1, Byte value2) {
            addCriterion("recharge_state not between", value1, value2, "rechargeState");
            return (Criteria) this;
        }

        public Criteria andDOrderNoIsNull() {
            addCriterion("d_order_no is null");
            return (Criteria) this;
        }

        public Criteria andDOrderNoIsNotNull() {
            addCriterion("d_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andDOrderNoEqualTo(String value) {
            addCriterion("d_order_no =", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoNotEqualTo(String value) {
            addCriterion("d_order_no <>", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoGreaterThan(String value) {
            addCriterion("d_order_no >", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("d_order_no >=", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoLessThan(String value) {
            addCriterion("d_order_no <", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoLessThanOrEqualTo(String value) {
            addCriterion("d_order_no <=", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoLike(String value) {
            addCriterion("d_order_no like", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoNotLike(String value) {
            addCriterion("d_order_no not like", value, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoIn(List<String> values) {
            addCriterion("d_order_no in", values, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoNotIn(List<String> values) {
            addCriterion("d_order_no not in", values, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoBetween(String value1, String value2) {
            addCriterion("d_order_no between", value1, value2, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andDOrderNoNotBetween(String value1, String value2) {
            addCriterion("d_order_no not between", value1, value2, "dOrderNo");
            return (Criteria) this;
        }

        public Criteria andOldBalanceIsNull() {
            addCriterion("old_balance is null");
            return (Criteria) this;
        }

        public Criteria andOldBalanceIsNotNull() {
            addCriterion("old_balance is not null");
            return (Criteria) this;
        }

        public Criteria andOldBalanceEqualTo(BigDecimal value) {
            addCriterion("old_balance =", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceNotEqualTo(BigDecimal value) {
            addCriterion("old_balance <>", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceGreaterThan(BigDecimal value) {
            addCriterion("old_balance >", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("old_balance >=", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceLessThan(BigDecimal value) {
            addCriterion("old_balance <", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("old_balance <=", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceIn(List<BigDecimal> values) {
            addCriterion("old_balance in", values, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceNotIn(List<BigDecimal> values) {
            addCriterion("old_balance not in", values, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("old_balance between", value1, value2, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("old_balance not between", value1, value2, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceIsNull() {
            addCriterion("now_balance is null");
            return (Criteria) this;
        }

        public Criteria andNowBalanceIsNotNull() {
            addCriterion("now_balance is not null");
            return (Criteria) this;
        }

        public Criteria andNowBalanceEqualTo(BigDecimal value) {
            addCriterion("now_balance =", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceNotEqualTo(BigDecimal value) {
            addCriterion("now_balance <>", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceGreaterThan(BigDecimal value) {
            addCriterion("now_balance >", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("now_balance >=", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceLessThan(BigDecimal value) {
            addCriterion("now_balance <", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("now_balance <=", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceIn(List<BigDecimal> values) {
            addCriterion("now_balance in", values, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceNotIn(List<BigDecimal> values) {
            addCriterion("now_balance not in", values, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("now_balance between", value1, value2, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("now_balance not between", value1, value2, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}